package com.hl.card.credit.pub.model;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 保险订单
 * 
 * @author wdf
 * 
 */
public class PublicIOrderModel extends AbstractModel {
	// 主键
	private Integer i_order_id;

	// 购买日期
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private java.util.Date i_create_date;

	// 保单号
	private String i_order_code;

	// 保单状态
	private Integer i_order_status;

	// 关联订单号
	private String order_code;

	// 批次
	private String batch;

	// 产品代码
	private String product_code;

	// 金额
	private Double money;

	// 件数
	private Integer num;

	// 被保险人
	private String insurant;

	// 被保险人类型（冗余）
	private Integer insurant_type;

	// 被保险人证件类型（冗余）
	private Integer insurant_cert_type;

	// 被保险人证件类号（冗余）
	private String insurant_cert_type_no;

	// 受益人（默认法定，之后会扩展一个受益人表）
	private String beneficiary;

	// 有效日期_开始
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private java.util.Date effective_date_start;

	// 有效日期_结束
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private java.util.Date effective_date_end;

	// 班次（航延或交通险专用）
	private String flights;

	// 是否有效
	private Integer is_effect;

	// 补充信息
	private String remark;

	// 业务类型
	private String business_type;

	// 状态
	private Integer status;

	// 内部公共订单号，保险
	private String pub_i_order_code;

	// 业务种类（机票、火车票。。。)
	private String busines_species;

	public void setI_order_id(Integer i_order_id) {
		this.i_order_id = i_order_id;
	}

	public Integer getI_order_id() {
		return this.i_order_id;
	}

	public void setI_create_date(java.util.Date i_create_date) {
		this.i_create_date = i_create_date;
	}

	public java.util.Date getI_create_date() {
		return this.i_create_date;
	}

	public void setI_order_code(String i_order_code) {
		this.i_order_code = i_order_code;
	}

	public String getI_order_code() {
		return this.i_order_code;
	}

	public void setI_order_status(Integer i_order_status) {
		this.i_order_status = i_order_status;
	}

	public Integer getI_order_status() {
		return this.i_order_status;
	}

	public void setOrder_code(String order_code) {
		this.order_code = order_code;
	}

	public String getOrder_code() {
		return this.order_code;
	}

	public void setBatch(String batch) {
		this.batch = batch;
	}

	public String getBatch() {
		return this.batch;
	}

	public void setProduct_code(String product_code) {
		this.product_code = product_code;
	}

	public String getProduct_code() {
		return this.product_code;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Double getMoney() {
		return this.money;
	}

	public void setNum(Integer num) {
		this.num = num;
	}

	public Integer getNum() {
		return this.num;
	}

	public void setInsurant(String insurant) {
		this.insurant = insurant;
	}

	public String getInsurant() {
		return this.insurant;
	}

	public void setInsurant_type(Integer insurant_type) {
		this.insurant_type = insurant_type;
	}

	public Integer getInsurant_type() {
		return this.insurant_type;
	}

	public void setInsurant_cert_type(Integer insurant_cert_type) {
		this.insurant_cert_type = insurant_cert_type;
	}

	public Integer getInsurant_cert_type() {
		return this.insurant_cert_type;
	}

	public void setInsurant_cert_type_no(String insurant_cert_type_no) {
		this.insurant_cert_type_no = insurant_cert_type_no;
	}

	public String getInsurant_cert_type_no() {
		return this.insurant_cert_type_no;
	}

	public void setBeneficiary(String beneficiary) {
		this.beneficiary = beneficiary;
	}

	public String getBeneficiary() {
		return this.beneficiary;
	}

	public void setEffective_date_start(java.util.Date effective_date_start) {
		this.effective_date_start = effective_date_start;
	}

	public java.util.Date getEffective_date_start() {
		return this.effective_date_start;
	}

	public void setEffective_date_end(java.util.Date effective_date_end) {
		this.effective_date_end = effective_date_end;
	}

	public java.util.Date getEffective_date_end() {
		return this.effective_date_end;
	}

	public void setFlights(String flights) {
		this.flights = flights;
	}

	public String getFlights() {
		return this.flights;
	}

	public void setIs_effect(Integer is_effect) {
		this.is_effect = is_effect;
	}

	public Integer getIs_effect() {
		return this.is_effect;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setBusiness_type(String business_type) {
		this.business_type = business_type;
	}

	public String getBusiness_type() {
		return this.business_type;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setPub_i_order_code(String pub_i_order_code) {
		this.pub_i_order_code = pub_i_order_code;
	}

	public String getPub_i_order_code() {
		return this.pub_i_order_code;
	}

	public void setBusines_species(String busines_species) {
		this.busines_species = busines_species;
	}

	public String getBusines_species() {
		return this.busines_species;
	}

}
